<script setup></script>

<template>
  <div class="flex flex-row full-height">
    <nav class="left-panel flex flex-column flex-shrink-0 full-height">
      <router-link to="/">Home</router-link>
      <router-link to="/about">About</router-link>
    </nav>

    <main class="right-panel flex-1 w-0 h-full flex flex-column">
      <div class="flex-shrink-0 h-64"></div>
      <div class="flex-1 h-0 main-content">
        <router-view />
      </div>
    </main>
  </div>
</template>

<style scoped>
.left-panel {
  width: 360px;
  border-right: 1px solid #333;
}
.h-64 {
  height: 64px;
  border-bottom: 1px solid #333;
}
.main-content {
  box-sizing: border-box;
  padding: 10px;
}
</style>
